home *** CD-ROM | disk | FTP | other *** search
-
- PERROR(3) UNIX Programmer's Manual PERROR(3)
-
- NNAAMMEE
- ppeerrrroorr - write error messages to standard error
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttddiioo..hh>>
-
- _v_o_i_d
- ppeerrrroorr(_c_o_n_s_t _c_h_a_r _*_s_t_r_i_n_g)
-
- DDEESSCCRRIIPPTTIIOONN
- The ppeerrrroorr() function looks up the language-dependent error message
- string affiliated with an error number and writes it, followed by a new-
- line, to the standard error stream.
-
- If the argument _s_t_r_i_n_g is non-NULL it is prepended to the message string
- and separated from it by a colon and a space (`: '). If _s_t_r_i_n_g is NULL
- only the error message string is printed.
-
- The contents of the error message string is the same as those returned by
- ssttrreerrrroorr() with argument _e_r_r_n_o.
-
- SSEEEE AALLSSOO
- intro(2), psignal(3), setlocale(3), strerror(3)
-
- SSTTAANNDDAARRDDSS
- The ppeerrrroorr() function conforms to ANSI C3.159-1989 (``ANSI C'').
-
- 4th Berkeley Distribution June 29, 1991 1
-